package com.phy.gsjl.form;

/**
 * MessagePlus与Message的区别：m_time的类型不一样
 * Message与数据库对应
 * MessageForm是传到前台的数据形式
 * @author curry 信息实体类
 */
public class MessagePlus {

	/**
	 * 信息ID,主键
	 */
	private Integer m_id;

	/**
	 * 信息类型：留言信息-->1，报修信息-->2，投诉信息-->3
	 */
	private Integer type;

	/**
	 * 发布序号
	 */
	private String m_number;

	/**
	 * 信息发布时间
	 */
	private String m_time;

	/**
	 * 发布人
	 */
	private String username;

	/**
	 * 信息内容
	 */
	private String m_details;

	/**
	 * 信息状态，新建-->0、已回复-->1
	 */
	private Integer status;

	public MessagePlus() {

	}

	public MessagePlus(Integer m_id, Integer type, String m_number, String m_time, String username, String m_details,
			Integer status) {
		this.m_id = m_id;
		this.type = type;
		this.m_number = m_number;
		this.m_time = m_time;
		this.username = username;
		this.m_details = m_details;
		this.status = status;
	}

	public Integer getM_id() {
		return m_id;
	}

	public void setM_id(Integer m_id) {
		this.m_id = m_id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getM_number() {
		return m_number;
	}

	public void setM_number(String m_number) {
		this.m_number = m_number;
	}

	public String getM_time() {
		return m_time;
	}

	public void setM_time(String m_time) {
		this.m_time = m_time;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getM_details() {
		return m_details;
	}

	public void setM_details(String m_details) {
		this.m_details = m_details;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "MessagePlus [m_id=" + m_id + ", type=" + type + ", m_number=" + m_number + ", m_time=" + m_time
				+ ", username=" + username + ", m_details=" + m_details + ", status=" + status + "]";
	}

}
